I would like to close the bridge between Java and OOo without having to kill either program.
- XComponent.dispose() alone makes the Java program hang after ending main (some connection reader thread is blocking)
- System.exit(0) does not kill OOo but it stops (logically) the Java program.
- XDesktop.terminate() kills OOo (even other open documents are being closed)
- BootstrapPipeConnector.disconnect() kills open OOo as well.
Now I am out of ideas. Is there another way to close the bridge?