Make indexing pipeline backup lexicon every 10000 iterations