the function we should use, while both curl_multi_socket() and curl_multi_socket_all() should be killed!