Make nurep wait for ESC before exiting