SocketException fixed