Changed watchdog processing to be simpler, because restarting jobs seemed to be causing problems that I could not resolve.