cURL error 35: TCP connection reset by peer (see https://curl.haxx.se/libcurl/c/libcurl-errors.html)