I have the same problems related to the restart behavior and native libraries with my graalpy based pythonscripting binding.