Waiting time distribution in (T,S) inventory systems