WiFi Client connection issue

I am writing a program that will require my Wio Terminal to connect via wifi to my server and recieve then process a string
The program works well and reconnects every 5 seconds and is very similiar to the example in the Seeed_Arduino_atWiFi-master libray examples.
I also get the same error after a short run time from the
The problem is after a number of times connecting, i get this error from the WiFiClientBasic example in the library examples folder

[E] [WifiClient.cpp:200] connect(): connect on fd 0, errno 11, “No more process”

I have been unable to find out what this means and how to cure the problem
Im only sending a simple string of characters from my server which works fine with a client connected asking for data every 5 seconds, it just seems to be the Wio having the problem
Anyone any ideas?
I find it strange that the example program also does it
I have updated all the wifi libraries and the wifi firmware on th Wio
Could it be my router?

Still having the same issues after once again going throught the wifi firmware update routine
both my own program and the example program are still failing
if have noticed that my routine and the test example both execute the data connection and transfer 10 times without error and then i get the connect error message
This remains consistent regardless of the length of the string I send and the recieve timeout i set on my server.
Also if i change the reconnect interval, either lenghtn or reduce it, it still fails after the 10th connection.
Packet sniffing on wireshark shows nothing untoward, execpt that the example program causes my server to send the string as a continuation message, whilst my own sends it as a TCP package.
Im really stuck here and no idea whats going on