The server signature and server timestamp used for SOAP authentication have a lifespan of 15 minutes.
Trying to retrieve all 230k leads in one go is likely to exceed that time. I can almost anticipate you are receiving SOAP error 20016.
The solution is simple: place the XML call within a loop so each time it receives a XML response with remainingCount greater than zero and a newStreamPosition, keep looping to get fresh timestamp and signature.
In most programming languages you can either use
remainingCount = 1;
while (remainingCount >= 1){
// your code goes here
// evaluate remainingCount from XML response
}
or
do {
statement(s)
} while (remainingCount >= 1);