fixing concurrent modification problems in CdmMassIndexer and ManagementController