added goroutine setting.