rosedb: cleanup