Fix match error cause sync shutdown
Merge pull request #23 from lucas564985699/master

Fix match error cause sync shutdown