Poor mans workaround for hanging SDL app/sim on shutdown.