Ping a server that is consistently available (as of now, that is google.com). This ensures that the scanner is connected to the internet.
- On success: The server responded, meaning an internet connection exists
- On no internet: The server could not be reached, meaning no internet connection exists, or it is unstable