Revert "On error terminate script immediately"

This reverts commit 43d71580231e889c8cc85c20cf8563fc6dc1613e.