Better handling of HAProxy timeouts for RabbitMQ connection.