private void commitSilently(ConnectionInfo connectionInfo) {
        try {
            if (connectionInfo != null) {
                connectionInfo.ifNotInTransaction(c -> c.setAutoCommit(true));
            }
        } catch (SQLException e) {
            LOGGER.error(e, "Failed to commit connection upon close");
        }
    }
@author pemi
@param <T> The type that the ResultSet shall be mapped to
runtime-parent/runtime-core/src/main/java/com/speedment/runtime/core/internal/db/AsynchronousQueryResultImpl.java