CURLOPT_CLOSEPOLICY is deprecated