My ESP program basics are copied from the UDP code example on the forum. ESP and everything else in my LAN have fixed IP addresses.
It looks to me that there could be some issue in starting ESP rx processing after a temporary WLAN break. Since the radio link does recover, ESP can at least receive protocol messages on the radio link layer.
Perhaps I missed something in my code. Anybody had this kind of problem or knows what to do to? It looks though that I could circumvent the problem by adding to the loop a test if WiFi.status() != WL_CONNECTED and if the state changes from NOT_CONNECTED to CONNECTED, do again WiFiUDP.begin(localPort). But maybe someone knows how this really should be done.