wait for input in console to exit