Only retry if in cancelled or failed states