doing the collection rename, and closing the tabs when dropping collection/database