Add call_in_ioloop test helper and fixup wait_running() and until_running()