Handle SocketExceptions when the connection are being explicitly closed in parallel