removing sys.exit in the ctr-c loop