Allow TaskThread to raise exceptions outside
Merge pull request #189 from halorgium/task-thread-exceptions

TaskThread does not raise exceptions outside