Patent ID: 8805988

Claim:
A method comprising: storing, by a device, a plurality of entries associated with a timing mechanism, the plurality of entries being sorted based on respective first current time values, determining, by the device, a particular entry, of the plurality of entries, the particular entry being associated with a session; calculating, by the device, an offset value associated with the particular entry, the offset value being calculated based on: a first current time value, of the respective first current time values, associated with the particular entry, a second current time value associated with the timing mechanism in the device, and a refresh timeout value associated with the timing mechanism; updating, by the device, the particular entry, the updating of the particular entry including: associating a new first current time value with the particular entry, the new first current time value being determined based on a remainder associated with dividing a sum of the offset value and the first current time value by a maximum timeout value associated with the timing mechanism, and the particular entry being resorted, among the plurality of entries, based on the new first current time value; and managing, by the device, the session based on resorting the particular entry.