s3:nmbd: handle SIG_TERM and SIGHUP via tevent