Handle input for multiple instances of the same CAD app

e.g. Multiple Rhino, Inventor instances open simultaneously - input currently goes to the last connection as the server doesn’t have a way to distinguish multiple connections.

Onshape currently disconnects when tab is inactive so it works correctly already.