code: public BoxFutureTask<BoxSession> logout() {
          final BoxFutureTask<BoxSession> task = (new BoxSessionLogoutRequest(this)).toTask();
          new Thread(){
              @Override
              public void run() {
                  task.run();
              }
          }.start();
  
          return task;
      }
docs: Logout the currently authenticated user.
  
  @return a task that can be used to block until the user associated with this session has been logged out.