Jassert: Running timer when destroying AudioDeviceManager on background thread

We get an assert when we destroy an AudioIODeviceManager that is running a WASAPIIODevice.
The Timer in question is in the juce::HiddenMessageWindow / juce::DeviceChangeDetector.

Could you add a destructor calling stopTimer() please?

EDIT: looking at it longer, it might be avoided as well by adding
stopDevice() in the AudioDeviceManager destructor.
We will try adding closeAudioDevice() in our code and see, if it solves the problem. It happens only sporadically.