using .onReconnect for ddp