Periodic review base-stock replenishment policy with endogenous lead times