Fixed watchdog bug if threads attr not set