Trying to make SerialProxy more reliable.