[IMP] exit with non-zero exit code in case of error