Prevent continued execution after error