Catch keyboard interrupts to avoid stack trace.