Gracefully handle KeyboardInterrupt instead of dumping stack