Hello, I'm building a Kotlin library including a shutdown hook ("Runtime.getRuntime().addShutdownHook(...)"). When I run it from IntelliJ within a main() Kotlin app, the hook works as expected. When I run it from IntelliJ within a minimalist Main Java app, the hook does not work. Would you have any hint why ?