Handle SIGTERM and SIGINT
1.9.0