This method will return as soon as the wifi setting is changed. If you want to make sure you've disconnected from the wifi network then try calling `self.data_layer.forget_all_networks()` before disabling wifi.