fix missing listener removal jni call
fix shm bytebuffer size