Check if all bytes were sent