Improve VTGate reconnection logic.
It refreshes endpoints before every connection.