(un)register watchers on connect/disconnect