Clear the readbuf before and after sending idle messages to avalon.