Added checks for rabbitmq