new wait_for_emulator