def stop(self, graceful=False):

        if graceful:
            self.accepting = False
            self.join()

        self.running = False
Stop the router, which unblocks the Router.start method as soon
dataset/ETHPy150Open rapidsms/rapidsms-core-dev/lib/rapidsms/router.py/Router.stop