Decorator for threading an I/O intensive process; storing results in a queue.