Catch C++ exceptions and terminate only the current VM

* So now when a VM runs out of memory only that VM is killed.