add discover_subscriptions() to connect handler