improvments to re-provisioning wait function