Fixed issue #152.
Using Gradle 2.1-rc-1
Passing CancellationToken to the tooling api.