Batching of responses to client