Consider in MassIndexer to set refresh period to -1 (i.e. infinite) while doing mass indexer and then set back to the default value when it's done.