Fix wget downloader so that an exception is not thrown if it tries ipv6 and falls back to ipv4