a way to flatten chained try-finally statements

You might be interested if the Try-catch oneliner thread.

For your example it would look something like:

try someParentNode.removeChild(someFirstElement);
try someParentNode.removeChild(someSecondElement);
try someParentNode.removeChild(someThirdElement);