port is already closed if ecu is not detected
remove commented declarations
change method name to what it does and simplify some logic