ensure that syncObserver will be discarded when defaul CorePlugins is garbage collected after swapping