public void StopSynchronization() { if (pollSubscription != null) { pollSubscription.Dispose(); pollSubscription = null; ScanInterval = null; PollEvery = null; } }