Sorry, I think I found the reason and it’s not caused by HAProxy: iperf uses two connections, one for control and the second for data. The control connection is used only at the beginning of the test and remains idle the rest of the time. So what is (correctly) closed by HAProxy is the control connection