Just being sure there are no surprises here.
Updated with some more info.
Closing cursor when stops to iterate.
Composer file.