How to keep closed the folders in world outliner?

I’ve just discovered that if you shift click on the arrow next to the world map at the top of the outliner, it will close all folders, then keep them closed until you click on something in a specific folder. It won’t open everything by just clicking on a random object. And they remain closed on opening the project. Huge relief.