Switched around the thread starting and moved it into the watchdog thread instead of the main thread