Catch KeyboardInterrupt so that Ctr-c in terminal doesn't show stack tracey