core-4813 fix folder move error. clean up event bus on close