Handled race condition creating subscriptions

Issue #24