Rotate Elasticsearch instances safely.