further corrects the update worker retry logic and incorporates failures
further corrects the update worker retry logic and incorporates failures

dimagi/commcare-android,dimagi/commcare-android,dimagi/commcare-android,dimagi/commcare-android,dimagi/commcare-android,dimagi/commcare-android