Implementing a cooling-off list in the heap