Patch #1627441: close sockets properly in urllib2.
 (backport from rev. 53511)
5 files changed