Fix race condition where adding a subscription during publish() would drop the subscription.
Fix race condition where adding a subscription during publish() would drop the subscription.

samternent/skit,eerwitt/skit,clusterinc/skit,clusterinc/skit,samternent/skit,eerwitt/skit