close TCT database before renaming