Fix regression in app.js (related to RabbitMQ connection establishment)