Have a bug with disconnect that can't trigger close event.