code: @Override
    public void onContextClose(final String contextId) {
      this.serviceStub.activeContextOp(
          ActiveContextRequest.newBuilder()
              .setContextId(contextId)
              .setCloseContext(true)
              .build());
    }
docs: Context Operations