The problem with this is because the connection from the other side is closed and thus the file descriptor is reset before the client has time to read the answer. It's indeed a bug, i'll investigate it but unfortunately i'm unable to reproduce it here.