run after-game stuff in a new thread to avoid ui lockup