turning off internet if "offline" is in category