MOSYNC-3271. Canceling a download causes panic 40002 on iOS.

http://jira.mosync.com/browse/MOSYNC-3271