VPN gets disconnected every 5 mins but it does not reconnect automatically, I have to manually restart the VPN

My VPN gets disconnected every 5 mins when I am logged on the wifi of my public library. It is very frustrating

I wrote to the Lib Tech people, they installed the same VPN as I on their laptops , ran some checks and they didn’t get the same issues.

Now I am aware that I have been able to use my VPN on the wifi at a coworking location.

Any advice on how to stop this recurrent VPN disconnection issue?

Thanks