def close(self):
        """
        Shuts down the TLS session and socket and forcibly closes it
        """

        try:
            self.shutdown()

        finally:
            if self._socket:
                try:
                    self._socket.close()
                except (socket_.error):
                    pass
                self._socket = None

            if self._connection_id in _socket_refs:
                del _socket_refs[self._connection_id]
def close(self):
        

        try:
            self.shutdown()

        finally:
            if self._socket:
                try:
                    self._socket.close()
                except (socket_.error):
                    pass
                self._socket = None

            if self._connection_id in _socket_refs:
                del _socket_refs[self._connection_id]
def close ( self ) : try : self . shutdown ( ) finally : if self . _socket : try : self . _socket . close ( ) except ( socket_ . error ) : pass self . _socket = None if self . _connection_id in _socket_refs : del _socket_refs [ self . _connection_id ]
Shuts down the TLS session and socket and forcibly closes it
Shuts down the TLS session and socket and forcibly closes it