You have attempted to close a database container that a project is using to display data.
Leave the database open, or close the project.