raise a BadSerialConnection error