When offline, don't show a popup error every few minutes

When a computer is offline, the Chrome extension will continue trying to connect, and show a notification with an error message every few minutes. If there is no internet connection, the extension should either not try to connect, or suppress error notifications.