Added a Thread.Sleep