Fix TcpSerialAdapter