handle urllib2 timeout