def METHOD_NAME(self):
    next(self.strategy)  # starts generator
    indexed_classes = self.index_service.app_state.indexed_classes
    for cls in sorted(indexed_classes, key=lambda c: c.__name__):
        self.reindex_class(cls)
    try:
        self.strategy.send(STOP)
    except StopIteration:
        pass
    try:
        self.strategy.close()
    except StopIteration:
        pass