I guess you are talking about the Headwind Remote mobile agent.
To work around this issue, we made the mobile agent transient - the app is disconnected and closed after stopping casting. Just restart the remote control session from the Headwind MDM web panel after some timeout (a minute).