Add watchdog functionality.