Fix sh_retry