Added global timeout to urllib2.urlopen calls