It depends on the velocity of messages your connection has to receive. I’d recommend when receiving a message, immediately push it to an asynchronous queue so that it does not block reading other messages. A buildup can cause a disconnect.
Are others reading this thread seeing similar issues?