Close all urllib2 connections in a finally

We assume that non-closed download URLs were leaving
CLOSE_WAIT tcp connections to 8080 on ci.o.org. This
caused the Jenkins UI to completely hang even though
builds were properly processed.
Fix flake8
Merge pull request #23 from joshmoore/url-close

Close all urllib2 connections in a finally