optimize the idempotency check of TaskScheduler
Merge pull request #49 from sofdem/develop

optimize the idempotency check of TaskScheduler