private void CheckTimeout() { if (DateTime.Now.CompareTo(_endTime) > 0) throw new TimeoutException("Timeout elapsed waiting for read"); }