async def corofunc(**local_args):
            nonlocal called
            assert local_args == args
            called += 1
def update_join():
  update_on()
  try:
    _thread.join()
  except:
    update_off()