Added a shutdown() to ProcessManager and ProcessThread
Catching SIGTERM to shutdown running tasks before exiting
fixes #8
rndaemon debug logging prints func name