private void onResponseComplete(RestResponseChannel restResponseChannel, ReadableStreamChannel response,
      Exception exception) {
    try {
      restResponseChannel.onResponseComplete(exception);
    } finally {
      releaseResources(response);
    }
  }
Completes the response.
@param restResponseChannel the {@link RestResponseChannel} to be used to send the response.
@param response a {@link ReadableStreamChannel} that represents the response to the {@code restRequest}.
@param exception if the response could not be constructed, the reason for the failure.
ambry-api/src/test/java/com/github/ambry/rest/MockRestRequestResponseHandler.java