Added retry logic to creating topics and subscriptions
Made changes as per code review feedback