if no wifi, then turn off wifi