fix task stopped issue
fix initialize handle failed without task_id
Merge pull request #12 from X-Plat/fix_task_stopped

Fix task stopped