_stream.py: Parallelize cache queries if a remote cache is configured For local cache queries the overhead of cache query jobs may be larger than the benefit of cache query parallelization. However, for remote cache queries where each query is more expensive, parallelization should always result in a speedup.