Implement clean shutdown.
By closing all RabbitMQ channels and connections.