def __del__(self):
        print 'Broker is cleaning up after itself.'
        self.tws.disconnect()
destructor, clean up
dataset/ETHPy150Open cmorgan/trading-with-python/lib/interactivebrokers.py/Broker.__del__