adding termination of block in ThrowNode