That if check had two compile failures - I threw it in at last minute and clearly didn't test it, to try to make use of the started member if it is used in the future.  For the moment I'm just ignoring stream->thread->started.