Use cancels instead of pthread_getattr_np for compatibility.
Stopping the download would be nice, it still goes in the background.