try removing measurements synchronously but within transaction