Replace remoteSubscriptionsLock with a lock on pending subscriptions
Merge remote-tracking branch 'refs/remotes/nicolas/dev-remote-subscription-lock'