public void UnRegisterStreams(uint protocolId)
{
#if PARALLEL
FindByProtocolId(protocolId).AsParallel().ForAll(x=>UnRegisterStream(x.Value));
#else
foreach (var baseStream in FindByProtocolId(protocolId).Values.ToArray())
UnRegisterStream(baseStream);
#endif
}