Remove a debug print statement.
Fix spelling in a comment.
Have the cursor ready to receive responses before sending query.
Continue only gets sent on success sequence.
No need to break early here.
Only need a view of the values here.
Close the cursor just to be safe.
Only send noreply_wait once.