def _shutdown_cherrypy(self):
        if cherrypy.engine.state == cherrypy.engine.states.STARTED:
            threading.Timer(1, cherrypy.engine.exit).start()
Shutdown cherrypy in one second, if it's running
dataset/ETHPy150Open orcasgit/python-misfit/misfit/auth.py/MisfitAuth._shutdown_cherrypy