When the online/offline value of window changes, ensure that a run loop runs when setting isOffline of SC.device.