When a query is deleted, the cursor for the query container stream is not removed, so when another query with the same name is created, it assumes the old cursor from the previous query. This PR deletes the cursor when the query is deleted.
Type of change
This pull request fixes a bug in Drasi and has an approved issue (issue link required).
Description
When a query is deleted, the cursor for the query container stream is not removed, so when another query with the same name is created, it assumes the old cursor from the previous query. This PR deletes the cursor when the query is deleted.
Type of change