Catching SIGINT to clean up before exiting.