Remove artificial thread sleeps