worker pool computes index with channel of channels pattern