Exit gracefully on keyboard interrupt