@Gargron This may be a better implementation pattern for your use case.
https://www.ardanlabs.com/blog/2013/09/pool-go-routines-to-process-task.html