def close(self):
        if self._local.conn:
            self._local.conn.transport.close()
        self._local.conn = None
If a connection is open, close its transport.
dataset/ETHPy150Open aparo/pyes/pyes/connection.py/ThreadLocalConnection.close