Only throw if we have set throwOnCaptiveNetwork