Add a timeout to the urlopen