Robust TCP packets queue control