Added support to auto-reload the page when a communication failure happens on the server.