Wait for keypress before quitting in the demo