if error := c.CheckRetry(httpPath, nil, c.cluster, attempt); error != nil {
    return some_error;
}