When setting a new DmpClient in the Qt client, destroy the old one so cleaning it up does not cause a freeze.