added signal handler for clean process kill using Ctrl-C