fixed typo in curl_setopt.
skip current seed if curl_error encountered. log the error before skipping.