Wait until index is in the clusterstate after restart