presto-main/src/main/java/io/prestosql/execution/SqlStageExecution.java/SqlStageExecution/addListener
class SqlStageExecution:        public synchronized void addListener(Consumer<T> listener)
        {
            checkState(!frozen, "Listeners have been invoked");
            listeners.add(listener);
        }