Ensure reindexing only gets called once by properly synchronizing calls