added graceful exit on keyboard interrupt
added graceful exit on keyboard interrupt