Added retries of deleting the profile.