HCOLL-133 CloseablesManager.checkState is throwing java.lang.IllegalStateException