Clearing RX and TX buffers when powering on/off.