Enhanced security for idle server reconnect