improving es indexing using multiprocessing