Added SIGTERM and edited Program.cs