Make the database appear closed in the isOpen method when close() is called