text: Better shutdown sequence