Retry curl_easy_perform; stats from logs