Add elasticsearch-close-index script