Added watchdog for scheduler.