Hello,
I think I found small bug. There was no lock in Read function (ShellStream.cs). This cause a crash in (Channel_DataReceived) under heavy load. Fixed fragment:
publicoverrideint Read(byte[] buffer, int offset, int count) {var i = 0;lock (this._incoming) {for (; i < count &&this._incoming.Count > 0; i++) { buffer[offset + i] = this._incoming.Dequeue(); } }return i; }