Detecting the Kinect sensor state change/disconnection example