RUBY-788 Don't close a socket after OperationFailure