Wrap transaction in a using statement