Smush can't optimize more than 2000 image in a single attempt

I’ve Smush pro version and wondering to smush all of the images of my site. But Smush can’t smush over 2000 image in single attempt. I’ve 20000 plus image.