TMDM-7902: to avoid remove same repository object more times.