Fix for invalid AMQP exceptions handling issue