add more shutdown debug