Packets should only be removed from queue after sent successfully.