Closing of the DB