set urllib2 timeout