Detect a misuse of ClearBatch and throw early