correctly handle broken AMQP messages