Halt execution in JSONTask on JSON parse errors

before execution would continue which result in an undefined
variable (results) getting accessed which caused a further exception.