Do not cache the JNI environment as it isn't thread safe to do so