added back Work.Close
changed inserter to use a channel and generator thread, should speed up iibench