Removed excessive Thread.Sleep methods