Force page to reload if LiveView doesn't reconnect

Currently I’m observing a situation that someone has the page opened, and the LiveView is trying to reconnect. But it can’t do it because my code changed after deployment (this is my theory). It is polluting the error logs.

What is the cleanest way to force reload a page? Any cool snippets that I can borrow?

Thanks