WIP: Remove the setting for shard query buffer size and add logic for max number of shards to query in parallel.