Revert use of class level defined curl variable

Once the option for curl_reset will be available we will be able to use
this option