Connect on mount. Idempotent in core, so StrictMode's double effect costs nothing. The host still owns close().
onError?
(err) => void
The rejection of the connect on mount, when connect is set: whatever connect() rejected with, your token provider's own error included. Nothing else — an error no promise was waiting for is the client's error event (useErrors()).