Break out of reading from System.in on interrupt.