app.isConnected check