Fixes issue with full buffer.
That would cause incomplete messages (invalid JSON) to be send to the parser.