before download it test if the internet is available