rework how we wait for instances to be ready