read all response bytes before closing

this should ensure connections can be reused