If you kill linbar with SIGKILL (9) you will leave the port locked.
I use another program (let say minicom or gpm) to recover from this. 
This is due to simplicity of the open that linSerial library uses. 

There is no uucp-like lock 
