Added a watchdog