Create wait_for_emulator