emit 'query' events immediately before call conn.query