Adobe Split Pro is an excellent solution if you work heavily with PDFs splitting, merging, etc. it runs about $100 per computer license (one time payment).
Without using that, is there any way to set your %LoopMax% to get this to stop? Check the PDF properties of the help menu. Do PDFs have a %.Pages% property?
Do you know how many pages you are possibly expecting based on another source, say Excel?
If neither of those work, try this;
For each page in PDF
Extract text from PDF %ExtractNew%
If %ExtractNew% = %ExtractPrevious%
Exit Loop
#Else Do something with %ExtractNew%
Set %ExtractPrevious% to %ExtractNew%
End
This will cause the loop to exit anytime the next page extracts the same exact text as the previous page.
Best of luck!