In most cases this is because you’re falling behind in consuming the stream. Make sure that you’re not trying to convert the JSON you’re receiving into objects/data structures on the fly – you should do that in another process.
And check out the stall_warnings=true parameter option, which will send your app a message when it’s detected that you’re falling behind in consuming the stream in real time.