Add loop_iteration_cb, fetch dbh for every iteration