fixed tcpclient crash vulnerability