Working with proper OpenNI shutdown