Pre-emptively set preferIPv4Stack to avoid the download stalling issue.