Serialconsole: exit if device is removed