Needed to remove dbPath from openDBs dictionary when closing or deleting

Needed to remove dbPath from openDBs dictionary when closing or deleting