Connect to rabbitmq on startup.