fix(KeyboardRobot): Correct waiting after keyboard inputs.