kinect open in thread