YR,HK: shutdown vm before destroy it.