Adding watchdog