Merge "[refactor] Split watchdog in a standalone library for reuse" into main