def stop(self):
        if self.ioloop is not None:
            self.ioloop.stop()
        self.join()
        self.close()
Stop the channel's event loop and join its thread.
dataset/ETHPy150Open jupyter/jupyter_client/jupyter_client/threaded.py/IOLoopThread.stop