Switch exit for return in retry.