force_exit() to make exit work with all `fdroid build` conditions
The build command has to use some threading stuff to handle the timeout and
locks. This seems to prevent the command from exiting, unless this hack is
used. This is needed to prevent fdroid build from hanging when run in the new gitlab-runner.