stopQuery
stopQuery.RdStops the execution of this query if it is running. This method blocks until the execution is stopped.
See also
Other StreamingQuery methods:
awaitTermination(),
explain(),
isActive(),
lastProgress(),
queryName(),
status()