Removed thread sleeps