Exception fixed when tcp clients are updated