stop refreshing when lost network