presto-main/src/main/java/io/prestosql/execution/QueryExecution.java/QueryExecution/addFinalQueryInfoListener
class QueryExecution:    void addFinalQueryInfoListener(StateChangeListener<QueryInfo> stateChangeListener);