sleep after emulator command