remove a redundant goroutine