CDEC-69: Check if connection of internet is dropped before downloading