Ive tried having the switch control the vpn and ive tried disabling it. Im currently trying to eliminate other possibilities for disconnects.

Is there a auto reconnect script ? Im surprised it not a feature on the glinet openvpn page.