adds try catch block to protect redis pubsub client.