Bug 60284: Prolong watchdog timeout during <wait>

This change adds logic to VDD to prevent a watchdog timeout that could be
caused by a long <wait> event.  Now, during wait events, the watchdog timer
is extended by the duration of the wait.

Testing done:

Ran test script with long waits.