Data(contentsOf:) fails on Linux where it doesn't on macOS

Found this old thread that also talks about URLSession timing out on linux.