cURL error 18: transfer closed with 66124 bytes remaining to read (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)