hookProcessNextBatch
prevent run next twice