Exit the script correctly when using ctrl-c

Previously, the script would hang when using ctrl-c
Now it exits safely.
Note that The pyro server is killed, thus remaining condor jobs will fail to start.
The idle jobs can be removed by using $ condor_rm -constraint ’JobStatus =!= 2
All the jobs can be removed by using condor_rm -all (but should be avoided if possible).