docs: private void onSessionClose(){
          synchronized(pendingQueue){
              while(! pendingQueue.isEmpty()){
                  Packet p = pendingQueue.remove();
                  onLossPacket(p);
              }
          }
      }