public static void deactivate() { sQuitting = true; sGpsReader.stop(); sKwxClient.stop(); sTrackLog.Close(); sEventLog.Close(); Thread.Sleep(1000); }