tdb: rsync leak fixed