TodoStore object needs to be closed