Update connected flag management
Merge branch 'dev' of https://github.com/BanTheRewind/Cinder-OpenNI into dev