code: public void deleteSession(String session) {
      for (Set<String> sessions : hostsToSessions.values()) {
        sessions.remove(session);
      }
    }
docs: Remove the references to the session
  @param session the session to be deleted