I don't quite get what you want.Could you add in something to make it stop listening on the switch after you're done using it until you connect again? I seem to be getting Switch hangs after I run it once in some games.
Once you disconnect the switch just idly waits for the next time you connect to it right now (unless if you've got freezes enabled in which case it will keep those active).
Could you please tell me which games this is an issue in so I can look into fixing that?