send event when query is pending