修复单元测试重复shutdown bug