docs: public synchronized void removeSessionLogs(SessionId sessionId) {
      if (storeLogsOnSessionQuit) {
        return;
      }
      ThreadKey threadId = sessionToThreadMap.get(sessionId);
      SessionId sessionIdForThread = threadToSessionMap.get(threadId);
      if (threadId != null && sessionIdForThread != null && sessionIdForThread.equals(sessionId)) {
        threadToSessionMap.remove(threadId);
        sessionToThreadMap.remove(sessionId);
      }
      perSessionRecords.remove(sessionId);
      logFileRepository.removeLogFile(sessionId);
    }