Issue 1840 - Handle thread cancellation exception
Merge pull request #94 from hssm/v2.0.2-thread-cancel

Fix for Issue 1840 - Handle thread cancellation