Wrap this in try/finally.