Fixed up closing of responses.