Refresh Web Application on Network Connection

I have an angularjs web application that is being hosted on server and displayed on client device using Windows form webbrowsercontrol. The application runs 24/7 in the device. I am also detecting the keep alive of server from client by regularly pinging the server for network connectivity. But there are scenarios when keep alive is true and the webpage goes to “Page Not Found” and stuck there due to intermittent connection loss between server and client.

Is there someway I can refresh the webpage on its own to recover from “Page not found” on server connection?