make Repeater._fail side-effect free
make Repeater._fail side-effect free

and rename to _make_failure_attempt

dimagi/commcare-hq,dimagi/commcare-hq,dimagi/commcare-hq,dimagi/commcare-hq,dimagi/commcare-hq