wait for environment being ready after swap cname, so that we can apply inactive settings