Check for OperationCanceledException instead of TaskCanceledException.
Merge pull request #328 from jonlipsky/task_cancellation

Check for OperationCanceledException instead of TaskCanceledException.