Close inventories before opening any others