捕获KeyboardInterrupt