Above message is for multi-line mode and this `lb` is received line from IOHandler.
I think your suggestion is also good for dumping remaing buffer in IOHandler.