WiFi Network causing unpredictable stalls

Temporarily switch to UDP and see if that makes a difference.

Are you using a WiFi hub or is it a point to point connection? Wifi hubs vary in quality. The cheaper ones run hot because manufacturers use the cheapest consumer components and run them at the limit.

The chipsets in laptops have aggressive power saving modes that try to power down peripheral devices whenever possible. That may be affecting the network interface. Try a desktop PC instead.