Added sleep a little longer for keypress