fix disconnect event timing