def invalidate(self):
        super(TcpTransport, self).invalidate()
        self._sock.close()
Invalidates the current transport
dataset/ETHPy150Open python-beaver/python-beaver/beaver/transports/tcp_transport.py/TcpTransport.invalidate