[Bug}Can't shutdown bug fix

Signed-off-by: Ethan Shan <shan0xiao0xi@gmail.com>