Bug 827896 - Cancel download rather than letting it fail when powering off the phone. r=rstrong