Flush packets at an interval so as to not overload the CPU