private void Receive() { var ct = _cancellationTokenSource.Token; //var ts = TimeSpan.FromSeconds(5); List <byte[]> buf = new List <byte[]>(2); while (!ct.IsCancellationRequested) { if (_Subscriber.TryReceiveMultipartBytes(ref buf, 2)) { _subscribeHandler.OnReceive(buf); } } }