metamer: test for queue clearing after error in @oncomplete function (RF-12132)