Handle signals more gracefully

Handle KeyboardInterrupt more gracefully in general.
Make CollectDServerMP gracefully handle SIGTERM so that the
worker subprocesses also die properly and don't become orphaned.