Attempted to fix issue where stream is unable to reconnect.