Also handle SIGTERM.