Extract removal of sent and acknowledged packets to method.