Improve loopback test
Clear more serial bits like XON