fix client connect data transmission issue