RIght - this is for the case where the error is received just before the reply - we want to overwrite the reply in that case, but we don't want to overwrite the good reply with the error (if the socket is closed immediately after the reply is received). I'll add a comment.