socat added, but disconnection is not clean