thorium: catch SIGKILL and SIGTERM

Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>