shazow/urllib3 — pull request #222 by schlamar (2013-08-06 16:48:05+00:00)
Title: Close socket used for port allocation.

I have seen some strange issues with such half-opened sockets, e.g. on Windows where you can't use SO_REUSEADDR.