For a good reason you can add Auto Reconnect option to web client:
And the same option with Reconnect & Disconnect at the desktop client:
And the same option with Reconnect & Disconnect at the desktop client: