Added check for rabbitmq