Hi Martin,
you are not missing anything. Currently, using a separate process
that you can kill if your JavaScript enters an infinite loop or
otherwise takes too much time is the only way to go. We are
considering adding a way of terminating V8 execution from the side
(which would lead to throwing a thread termination exception which
cannot be caught by JavaScript try catch handlers), but it is not
there yet.
Cheers, -- Mads