Can you catch a SIGKILL message? How about a SIGTERM?
Sigiloso
SIGKILL messages are sent directly to the Init system, and are thusly not catchable. SIGTERM is catchable, as it gives the process the opportunity to wrap up any necessary tasks before shutting down.