Soft shutdown should also set wanna_die flag.