Cleaning up existing WebsocketRpc instances on reconnect