add timeout to urlopen
small fix in download library
add gdal to check if a hdf is downloaded correctly