KVM-test: Use isAlive to check the status of Thread