Previous code was trampling on a single instance of resbuf and leaking memory. Using individual response buffers per request.