Loop to send bytes in case os misbehaves