Zero-order release periods in inert matrices. Influence of the distance to the percolation threshold