Wrapping the release in a try-finally closes #2