Optimized the way Servant reconnects WebSocket