maybe this should check for curl_multi_select() != -1