turn off net acces when offline