ok, one thing to understand.
We switch to a download channel to do a wireless download, the download channel has approximately 8 times the bandwidth of the normal pit or competition channel, however, only a limited number of robots can be using download channels at the same time (22). When the download finishes, if the communications port is closed or the USB cable disconnected from the controller, the V5 will automatically swatch back to a pit channel 10 seconds later. It sounds like that’s what you may be seeing.
VEXcode will usually keep the port open, we keep polling the V5 for debug output.
I think PROS probably closes the port.