stackoverflow: Detect 'We are Offline' temporary error condition