Very often I notice stream is freezing. No heartbeat messages, nothing, no errors, no disconnections and yet tweets are not coming.

What language / library is the imementation and what kind of environment is it running in? Like what kind of connection etc.

NodeJS/ Axios and socket . io for intermediary connection.
Sample project is GitHub - Behinder/socket.io-fiddle: A minimal example to play with Socket.IO