use more threads when testing, better query response handling