added timeout to download request