avoid attempting to sample events when the event rate is zero