The key "currentRetryCount" should be "retriesRemainingCount"