[10-stable] Don't trap TERM if not in daemon mode

The whole point if this magic is meaningless if we're not in daemon
mode.