code: private void onError(ErrorCode errorCode, String moreDetail) {
      startGoAway(0, errorCode, toGrpcStatus(errorCode).augmentDescription(moreDetail));
    }
docs: Send GOAWAY to the server, then finish all active streams and close the transport.