Update WS Connection with new Auth Token

I’m using @apollo/client/core in an Electron project with connections to both an Apollo Federation gateway, and a separate WS endpoint for subscriptions. (Thank you Mandi! Using Subscriptions with Your Federated Data Graph - Apollo GraphQL Blog)

The gateway connection is fine since it updates the request with the new auth header on every request. However, the WS connection stays open and the auth token is only sent during the initial connection, so when the token times out after 1 hour, the WS connection begins to fail.

Is there a way I can update the existing websocket connection with a new auth token, or is there a way I can elegantly restart any existing connections as needed with the new auth token?