| Currently, we only wait for those works to finish when closing the ElasticsearchService, which I think happens after the index managers have been closed. Since the index managers are responsible for dropping the indexes if necessary, this can result in very strange behavior: async works failing because the index doesn't exist anymore. Setting the priority to "minor" since the "drop-and-create-and-drop" strategy is not likely to be used for anything else than tests. |