I think I tried this in the past... Connection manager would need a new state right before it actually destroys the client. Or, the debugger client itself should remove all listeners as part of destroying perhaps.