add goroutine memory leak test.