Workaround for suspected bug in urllib2/SimpleHTTPServer threading handling.