I would prefer `for (int count = 0; count <= retryCount; count++)`