Force UsagiSearchEngine to close before rebuilding index.