Fix with_retries to actually retry, and throw on failure
Fix with_retries to actually retry, and throw on failure

This was caught by `rubocop --only Lint/UselessAssignment`, which warned on the unused `count` variable.

rvarshney/code-dot-org,rvarshney/code-dot-org,dillia23/code-dot-org,dillia23/code-dot-org,dillia23/code-dot-org,pickettd/code-dot-org,rvarshney/code-dot-org,dillia23/code-dot-org,pickettd/code-dot-org,ty-po/code-dot-org,ty-po/code-dot-org,dillia23/code-dot-org,ty-po/code-dot-org,dillia23/code-dot-org,ty-po/code-dot-org,ty-po/code-dot-org,ty-po/code-dot-org,pickettd/code-dot-org,dillia23/code-dot-org,rvarshney/code-dot-org,rvarshney/code-dot-org,pickettd/code-dot-org,pickettd/code-dot-org,pickettd/code-dot-org,pickettd/code-dot-org,dillia23/code-dot-org,ty-po/code-dot-org,rvarshney/code-dot-org,ty-po/code-dot-org,pickettd/code-dot-org,rvarshney/code-dot-org,rvarshney/code-dot-org