Just set a timer after the initial check. After 30 seconds (or whatever), check for Is Online. If yes, restart timer. If no, disable controls and have a popup, or some other message, asking user to connect.
This is generally speaking, of course. I have no idea how your app is setup.