Details of the problem : After iperf ended, the socket was not closed, resulting in the WIFI buffer not being released.