The key "currentRetryCount" should be "retriesRemainingCount"

Retries don't work because the key "currentRetryCount" should be "retriesRemainingCount." "currentRetryCount" isn't used anywhere else in the code.