The proxy loop does not always shutdown properly when one side closes the connection
This is seen when using dtt. Dtt issues a 'close;' command to terminate a connection. The backend server sees the close command and closes the connection. However the proxy waits for both client/server sides to close before completing.