Another attempt at closing databases