[JBTM-1369] Allow measurement to be cancelled