MODE-2275 Fixed Schemata caching by the JcrNodeTypeManager, which caused newly registered node types to not be visible as long as they are registered with the same namespace.

not sure I understand: a finally block wouldn't help, because the repository data would be corrupted regardless. We're talking about tests after all and if repo data is corrupted there is no way to makes things "evident" for the other tests.