docs: public long timeout()
      {
          if (tickets.isEmpty()) {
              return -1;
          }
          sortIfNeeded();
          //  Tickets are sorted, so check first ticket
          Ticket first = tickets.get(0);
          return first.start - now() + first.delay;
      }