block and wait for bytes to be written during broadcastAvatarData loop