Fix a bug in determining whether a task is async
Merge pull request #8 from mbautin/v2.1.0-csd_is_task_async

Fix a bug in determining whether a task is async