docs: private void resetSyncToOSThread(WebSecurityContext webSecurityContext) throws ThreadIdentityException {
          Object token = webSecurityContext.getSyncToOSThreadToken();
          if (token != null) {
              ThreadIdentityManager.resetChecked(token);
          }
      }