handle going offline in the middle of downloading something