add SerialPortClose to windows
name -> path