centralize logic that ensures response body is closed
Merge pull request #13 from Netflix/ensure-closed

centralize logic that ensures response body is closed