Add code to defer response body