def METHOD_NAME(self):
    router = mitogen.master.Router()
    try:
        c = router.local()
        c.call(mitogen.parent.upgrade_router)
        c.call(do_timer_test_econtext)
    finally:
        router.broker.shutdown()
        router.broker.join()