Sync service cancel support;
Merge pull request #91 from simonqfchen/master

Sync service cancel support;