rrdp_finish
void rrdp_finish(unsigned int, int);
rrdp_finish(id, ok);
rrdp_finish(rp->rrdp->id, 0);
rrdp_finish(rr->id, 0);