Disconnect log when the client disconnects a device
Summary:
Fix error where log will be connected to the serial device once for every previous
connection
Reviewers: laysrodrigues, patrickelectric, tcanabrava
Reviewed By: laysrodrigues
Differential Revision: https://phabricator.kde.org/D10109