Adding clean exit on Ctrl-C