Don't intercept SIGKILL, SIGTERM, etc; let the main application handle that. Just send messages to job workers if the process exits.