MOD:use pthread_cond to sync when surl_queue is empty