cleanup
cleanup
cleanup
synthetic measurement wrappers around top-level collecting measurements are now closed immediately to avoid memory leaks in pathological code