Fix retry decorator during test bucket cleanup.