added timeout to urlopen