try to fix core on #0 and #16 from empty query.
if empty query or n<=0 and &stream=1 then fix bug
that was not sending back the reply properly.
basically, disable streaming if msg40 would not block.
upped MAX_SHARDS from 128 to 1024. should not take up
any more mem really or slow things down.