smbd: use exit_daemon() to support reporting to systemd from smbd