Fix forced offline in iOS