Won't this mean the DB for the repo that was matched is never closed?