Improve scaladoc comments for the task cancellation api.