Weak internet connection

My local polytechnic is buying my software (awesome)… however, their campus wifi is really weak and my desktop app checks to see if it’s online when it starts up. If it’s online, it will then communicate with hosted databases and downloads various files (like video help file logs and stuff).
Is there a way to check if the computer can connect to the wifi? Be online?

The software hangs with this weak internet connection and that’s a real turn off for my customers

What’s the solution to really determine that the computer is online via Xojo?

Perhaphs here you can find some “inspiration” https://forum.xojo.com/45391-app-freezing-when-using-httpsecuresocket-with-no-internet