Implemented Watchdog timer for UI timeout