If not, assuming that the close method of this outpustream will fail in the next hour, how should I ensure that the resources are released?
I've read Proper way to close an AutoCloseable, but there is not answer about what try-with-resouces do to enure resouces are released.
Thanks.