What you encounter is a threading bug that I have introduced when implementing the async framework in Streams.
As a work around from this bug (on which I will work as a priority), please add the following code to yours.
Work Item related with Bug
Sorry for the inconvenience and thank you for reporting this.
Linvi
As a work around from this bug (on which I will work as a priority), please add the following code to yours.
filteredStream.StreamStopped += (sender, args) =>
{
filteredStream.StartStreamMatchingAllConditions();
};
I know that this is not ideal but the bug is not trivial so I will have to think about this before releasing a fix.Work Item related with Bug
Sorry for the inconvenience and thank you for reporting this.
Linvi