A device is connected to the smartphone via WIFi, which sends UDP packets, the average time to receive a packet is 5ms, however, periodically, every 4 seconds, there is a delay in receiving a packet by about 100ms. There are no delays on the sending device side. I can't figure out how to solve this problem.