HL7588 TCP socket problem

Hello,
I have an application in USA that uses RC7611 and also some legacies HL7588. The applications with RC7611 are working just fines, however the ones with HL7588 are getting stucked trying to open TCP socket. The command sequecies is:
AT+KTCPCFG=1,0,“google.com”,80
+KTCPCFG: 1
OK
AT+KTCPCNX=1
OK
Then after that I check the socket status and it remains in status 2 (opening for a long while)
AT+KTCPSTAT=1
+KTCPSTAT: 2,-1,0,0
OK

Some time I got these notifications:
+KCNX_IND: 1,4,1
+KCNX_IND: 1,2,1,2,30

After a while it changes to:
+KTCPSTAT: 2,0,0,0

Also the registration seems to be ok as I have this:
AT+CEREG?
+CEREG: 0,1
OK
AT+COPS?
+COPS: 0,2,“310410”,7
OK

why the session ID is changed here?

AT+KTCPCFG=1,0,"google.com",80
+KTCPCFG: 1
OK
AT+KTCPCNX=1
+KTCPCFG: 2
OK

I edited the post. It was related that tries to open another socket and then I copy different parts of the log to post. Anyway, just check other logs and that does not changes the socket and still have the same issue.

from +KCNX_IND, it seems there is TCP disconnect.
What if you close and delete the TCP socket and reconnect it?

You might also capture wireshark log on server side to see what happens on the TCP connection