Fixed unreachable curl_close()