Closing Process in a Periodic Inventory System