(MAINT) Feature/curl retries

Is there a reason we are doing this here instead of the calling method using `max_retries`?