[Issue 10415] Allow limiting the buffers for data pending to be sent to client