fix(elasticsearch-sync): improves reliability