public void Cancel() { if (_masterThread != null) { _masterThread.Abort(); } if (_threads != null) { foreach (Thread t in _threads) { t.Abort(); } } _routine.ClearFixtures(); }