TcpClient's issues was fixed

The code should refactor