I'm not sure about this, but seems to work.
@@ -777,9 +777,10 @@ func (pool *SimplePool) BatchedSubManyEose(
select {
case res <- ie:
case <-ctx.Done():
wg.Done()
return
}
}(df)
The note is not visible to the blocked user.