wdmd: close watchdog when not used
Previously, the watchdog would remain open with keepalives
even after all clients (sanlock lockspaces) were removed.
This was an unnecessary liability in case it couldn't be
kept alive while not needed. It also prevented sanlock
from being restarted using a new watchdog timeout.