When cleanup fails because of an earlier exception, print the inner exception