Extract appending from goroutine.