Packet loss and slow downloads from services.gradle.org

FYI:

I ran the wrapper task to update to 4.2, but it’s been running for over 20 min:

Testing started at 3:21 PM ...
3:21:08 PM: Executing external task 'test'...
Download https://services.gradle.org/distributions/gradle-4.2-all.zip (94.10M)
[ 89%] [ =================================================>     ] 84.03M

The time is now 3:49.

I’m getting packet loss trying to ping the server:

$ ping services.gradle.org
PING services.gradle.org (104.16.173.166): 56 data bytes
64 bytes from 104.16.173.166: icmp_seq=0 ttl=52 time=31.012 ms
64 bytes from 104.16.173.166: icmp_seq=1 ttl=52 time=33.971 ms
Request timeout for icmp_seq 2
64 bytes from 104.16.173.166: icmp_seq=3 ttl=52 time=31.432 ms
64 bytes from 104.16.173.166: icmp_seq=4 ttl=52 time=34.754 ms
Request timeout for icmp_seq 5
64 bytes from 104.16.173.166: icmp_seq=6 ttl=52 time=30.286 ms
64 bytes from 104.16.173.166: icmp_seq=7 ttl=52 time=31.110 ms
64 bytes from 104.16.173.166: icmp_seq=8 ttl=52 time=31.261 ms
64 bytes from 104.16.173.166: icmp_seq=9 ttl=52 time=33.674 ms
64 bytes from 104.16.173.166: icmp_seq=10 ttl=52 time=31.825 ms
64 bytes from 104.16.173.166: icmp_seq=11 ttl=52 time=30.226 ms
Request timeout for icmp_seq 12
Request timeout for icmp_seq 13
64 bytes from 104.16.173.166: icmp_seq=14 ttl=52 time=29.780 ms
64 bytes from 104.16.173.166: icmp_seq=15 ttl=52 time=31.695 ms
^C
--- services.gradle.org ping statistics ---
17 packets transmitted, 12 packets received, 29.4% packet loss
round-trip min/avg/max/stddev = 29.780/31.752/34.754/1.509 ms

Speed test came in at over 50Mb/s, and no packet loss pinging google.com, so I believe my network connection is just fine.