private void AcceptConnections() { while (isRunning) { var connection = connectionListener.AcceptNext(); if (null == connection) { continue; } OnEstablished(connection); } }