Add support for parallelizing multiple queries

This works well for doing bulk gets or bulk inserts.