Use _Exit() instead of exit() to work around libreoffice segfault