Less system usage way of polling if internet is connected.