abort/fail sqlcmd when there is a SQL failure

before, it would continue executing script and always return success (exit code 0)