SUGGESTION
After several reconnections the api crashes and don't work anymore. Can you add a trigger like a key stroke to reload the api server?
Could you pls describe this in more detail? How do you access the telemetry data? What is actually not working. If there is a bug the proper way is to fix it, not providing a restart key.