error fix - delay while entire packet is not sent