net: batch calls to flush_all_backlogs()