Execute indexing in other thread