Refactor EventWatchdog to StatusWatchdog, fixed resource watchdog bug