Clean up RabbitMQ connections on failure.