Reconnecting WebSocket and ApiClient draft