Don't connect the Internet every time app starts or enters foreground