public final void addCleanable(Cleanable cleanable) {

        synchronized (cleanables) {
            cleanables.add(cleanable);
        }
    }
Registers a {@code Cleanable} to be invoked when the handle is closed. Any cleanable registered here will only be cleaned once.
<p>
Resources cleaned up by Jdbi include {@link java.sql.ResultSet}, {@link java.sql.Statement}, {@link java.sql.Array}, and {@link StatementBuilder}.

@param cleanable the Cleanable to clean on close
core/src/main/java/org/jdbi/v3/core/Handle.java