Merge "Fix leaks of JNI objects in the local reference table" into klp-dev