avoid streaming states unless there is a listener and the stream is not paused to fix #2