do not iterate by maxGroupID (passed by user) but iterate by internal pending packets (uncontrolled by user).