Moving curl_reset to the CurlAdapter