public void Stop() { if (thread != null && thread.IsAlive) { log.Debug("Stopping the AutoUpdater."); thread.Abort(); } thread = null; }