client stops after query/result count decremented to 0
client stops after query/result count decremented to 0