Fix match error cause sync shutdown