public void DetachFromIoThread(TransportPipe pipe) { var threadNumber = _pipesToThreadNumber[pipe]; _sendingThreads[threadNumber].Detach(pipe); }