use sync module woker to handle sync process. fixed #19