Wrap expiring a calculation in a pessimestic lock