BUGFIX:  If we try to open a non-present device (ie the /dev/ttyXXX doesn't exist), the lock is not cleaned so it prevent any further opening.