private void Reconnect(int retryCount) { retryCount++; _readBuffer.SetLength(0); Disconnect(); Connect(_currentPort, retryCount); }