public void Terminate() { lock (_threads) { _aborting = true; foreach (var item in _threads) { item.Terminate(); } } }