TCP Exhaustion Fix

Fixed a bug where, while downloading images, the system's TCP sockets
would be exhausted because of incorrectly-thrown-upwards exceptions.