def on_timeout(self):
        # force the ioloop to stop
        self.ioloop.stop()
        self.fail('Test timed out')
called when stuck waiting for connection to close
dataset/ETHPy150Open pika/pika/tests/unit/select_connection_ioloop_tests.py/IOLoopBaseTest.on_timeout