Add the stream callback to only happen once the stream is started, otherwise could bind to an undefined stream