def reconnect(self):
        # This is the old connection IOLoop instance, stop its ioloop
        self._connection.ioloop.stop()

        # Create a new connection
        self._connection = self.connect()

        # There is now a new connection, needs a new ioloop to run
        self._connection.ioloop.start()

    ##########################
    # Consume channel handling
    ##########################
Will be invoked by the IOLoop timer if the connection is
dataset/ETHPy150Open comodit/synapse-agent/synapse/amqp.py/Amqp.reconnect