issue #4689:Fixed lose disconnected event and incorrect device name/id.