Add a data collection timeout handler to data sampler