Close Product

How you can close a product when you opened it with product=ProductIO.readProduct(path)?

The best way is to use

product.dispose()