Add a counter to the FTDI driver to avoid undesired close when using multiple ports