terminate subprocesses on shutdown (e.g. on shutdown via dbus or SIGTERM)

* fixes program hang on shutdown
* improves consistency - terminating Mailnag via CTRL+C always did this