Add retry control to worker
When an updateCmdWatcher request fails, it is resent MAXRETRY times with a DELAY, if all attempts fail, we remove a potentially stalled command.