The httplib.py file sets the timeout via socket._GLOBAL_DEFAULT_TIMEOUT as well.