We only see that there is a call to connectClient() in setup(), which is not a good practice, since if the client disconnect, it won't reconnect it. You should handle that in loop() and check the status of the connection.
We only see that there is a call to connectClient() in setup(), which is not a good practice, since if the client disconnect, it won't reconnect it. You should handle that in loop() and check the status of the connection.