Catch KeyboardInterrupt