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.