public static void closeIfNeeded(Handle handle) {
        if (!TRANSACTIONAL_HANDLES.contains(handle)) {
            handle.close();
        }
    }
Close a handle if it is not transactionally bound, otherwise no-op
@param handle the handle to consider closing
spring/src/main/java/org/jdbi/v3/spring/JdbiUtil.java