When starting the TestServer with the first appended patch:
And connecting to it with this shell command:
The connection stays up for a long time. Making DOS attacks very easy, because at some point the server runs out of available client connections.
The second appended patch fixes the issue in TConnectedClient.