Can we make sure that doClose is called even if `Releasables.close(recordingWrapper)` throws an exception? For example:

```java
try (Releasable _ = recordingWrapper) {
  doClose();
}
```