Deactivate the ad-hoc network created by deactivating the wifi