Currently session monitor only has hooks that are called after the statement or query is executed. Sometimes it is handy to have hooks that are executed before. For example such hook will make it possible to see exactly what query hanged without waiting a timeout or attaching a debugger..