Start with the repair tool. Open your program files, find the World of Warcraft folder, and run the repair utility, since a timeout often means some of your game files are corrupted.
If that does not clear it, restart the machine into Safe Mode with Networking, download the patch or update from there, then reboot normally. Between the two, most download timeouts resolve without needing anything more drastic.