name refactoring for awaitDeployment and awaitDeployments