https://medium.com/@poloxue123/preventing-goroutine-leaks-with-advanced-monitoring-and-testing-ab292c6c9f63