Actually check in the change that resets the S3 connection every 40 yields, not 100