Probably you would like to add ```1``` as timeout to this send_request_cgi call, so you don't need to wait the full timeout for send_request_cgi.