Better control of sleep times in read/apply loop