cleanup mongodb repository