set dbs to empty dict upon close_dbs