cancel Thread.Sleep when sleeptime <=0