* commit 'e77e9da84946a2833ef8b0d1d476d6325768a244': Fix bug in handling connect/disconnect multiple devices.