Ensure that connections are being closed after we

download images.