- try to read all data available from serial device or network to not have
  left-over bytes available on the next read