add WaitForStatus API
refresh _all indices