rescue AMQ::Client::ConnectionClosedError on publish()