set timeout when urllib2.urlopen, and catch urllib2.URLError
README