Fix up disconnect event not being fired.