Don’t store the “connected” status, ping the plugin instead.