[ci skip]clear exception flag after each jni call

otherwise after wrong java call, application falls down