Fixes the chances of device being disconnected and reconnecting later when running a command
Fixes connection/disconnection between the filter and gui