reset error and info values for every curl request by default in Curl library