Now cleaning up if SIGHUP, SIGTERM and SIGINT