Added max keyboard input wait time