Add heartbeat function to keep connection alive if there is no data to stream within the 60 second window.