gh-140795: Keep 'err' in local variable in _ssl.c (gh-143275) The error return code doesn't need to be mutable state on the SSLSocket. This simplifes thread-safety and avoids potential reentrancy issues.