Add synchronized on adding subscriptions