def close(self):
        if self._socket:
            self._socket.close()
            del self._socket

    # These are set in the TcpTransport initializer
Closes the underlying socket of the PB connection.
dataset/ETHPy150Open basho/riak-python-client/riak/transports/tcp/connection.py/TcpConnection.close