Guards against logout on the watchdog.