Kill a virtual machine that is stuck on ESX4i

I recenty had some some problems with the reset of a Virtual Machine on an ESX4i host. It hung on 95% and was unresponsive.
Avoiding a complete reboot of the ESX host, I went trough some site’s and finally had the answer to the problem. Here are the steps i took:
1.At the ESXi console, press alt+F1
2.Type: unsupported
3.Enter the root password
4.Type ps
5.Second column before the VM name (wich has the problem) is the pid of the vmkload_app of the troubled VM
6.Kill -9 (pid)
Now check the VM state, it should be off. You can now boot the machine again.