Deleting databases that are no longer needed