private void resetState() {
    responseFuture = new FutureResult<>();
    responseParts.clear();
    exception = null;
    callbackInvoked.set(false);
  }
Resets the request tracking state of the client.
ambry-test-utils/src/main/java/com/github/ambry/rest/NettyClient.java