do not remove batch context when exception occured