In recent PR #13824, I added closing the context when the engine is closed, but core seems to have problems with that. It logs: "[ERROR] [ipt.internal.ScriptEngineManagerImpl] - Error removing ScriptEngine java.lang.IllegalStateException: The Context is already closed." Signed-off-by: Florian Hotze <florianh_dev@icloud.com>