check internet availability on media download