retry failed command on pre-registered errors