add watchdog function to Python HAL components