Create logic for producer and consumer thread pools