[JBTM-1369] Allow measurement to be cancelled

!XTS !QA_JTA !BLACKTIE !QA_JTS_JACORB !BLACKTIE