Also handle SIGTERM.

Do we also care about SIGINT?