Shutdown gracefully on SIGINT.