private void RunEngineCalculationForGivenTime(UCIEngine e, TimeSpan time) { e.SendGoInfinite(); Thread.Sleep(time); e.SendStop(); e.SendIsReady(); }