Closing the application will now always exit all Lua threads.