Emit end-of-line on closed connection with text.