Make webpage keep updating after network failure

We frequently run into issues (especially on wifi) where the webpage
stops updating and has to be manually refreshed.  These changes make it
keep retrying if it fails.