Add auto-reconnecting, plus a potential infinite loop.