Remove pointer to db from dictionary on close, allows us to close db and reopen in same session