public void stopDataThread() { if (_dataThread == null) { return; } _dataThread.Stop(); _dataThread = null; }