Fix for Ticket #103 (another SocketException)