Now the database connection is shutdown after retrieval.