code: @Override
    public void closeSession(SessionHandle sessionHandle) throws HiveSQLException {
      try {
        TCloseSessionReq req = new TCloseSessionReq(sessionHandle.toTSessionHandle());
        TCloseSessionResp resp = cliService.CloseSession(req);
        checkStatus(resp.getStatus());
      } catch (HiveSQLException e) {
        throw e;
      } catch (Exception e) {
        throw new HiveSQLException(e);
      }
    }
docs: /* (non-Javadoc)
  @see org.apache.hive.service.cli.ICLIService#closeSession(org.apache.hive.service.cli.SessionHandle)