Improved the detection of VMs not killed in a final state.