Set a timeout on urlopen, otherwise defaults to infinity