remember to terminate the watchdog after it finishes it's work