Delay packets but when disabling send every packets that were delayed

  • Lets say you delay everything by 3 secs, if you disable it it'll take 3 secs to come back to normal, I want everything that was queueing for 3 secs later to be processed after you disable it, I tried putting them in a list and removing them from the list when processed but when you disable it, the packets are processed properly but they're processed a second time after 3 secs