initial tcpclient connect error handling