Need to wait for registry termination because we could be deleting the project and if the registry is still open it prevents the project from deleting.