commit transaction after each processed member