OK, I have disabled all input devices. The mouse freezes as soon as I connect via the Android app. After I manually disconnect, the mouse becomes usable again.