Test SIG_TERM on termination