Check for an internet connection after closing Minecraft