I think this is a bug:
I canceled a build and it hung on cancel. Then I clicked disable agent and re-enabled and it still wouldn't cancel. I had to bounce the server to get it to cancel.
Disable agent Hoth :: Initialize Build - Denali #1 Cancelled (Checking for changes)
16 Aug 18:55 (3h:16m)