add stateful goroutine