VM stops if RuntimeException is not handled in a thread.

An error is thrown in context.js:
 TypeError: caller is undefined