Add some extra exception code to catch ctrl+D when asking for input