Log exit from signals to the error log

(SIGTERM, SIGHUP, and SIGPIPE for now)