Fix client request buffer leak