Fix an issue that swith disconnected event is not delivered to applications in some cases.
Fix an issue that swith disconnected event is not delivered to applications in some cases.