set CURLOPT_NOSIGNAL to 1 before sending requests