*) mod_watchdog: Switch to simpler logic to avoid the thread cleanup running before the thread has started, avoiding mutex operations with undefined behaviour. [Christophe Jaillet]