Trap Ctrl-C and shut down

Added code to trap a Ctrl-C and cleanly shut everything down
Disable daemon option

The pcaspy library doesn't seem to work properly when called as a daemon
(using the python daemon package), so I'm disabling the option for now.