I get that too, not ev'ry time, not a big thing but annoyin... , I have to close and reload Sonar.
It's just killing the work flow, when you jump in with fresh ideas.
I've check cables, connections, my daw is tweak to the max, no internet connect, a dedicated machine to music...
I always start the MCU before Sonar, 'cos the other way around, the MCU never work...
The worst in this, it's random...
Rick