Reload the page when we haven't heard from the server in ten seconds.

Seems like the server stops sending pings after quite some time, this
tries to ensure the page won't get stale.