Thread.Sleep added and extended