Added retry logic to creating topics and subscriptions