If connection executes asynchronuos query, you can cancel it by calling Cancel method.
public: void Cancel();
public void Cancel();
Public Function Cancel() As void
If method fails, the node_exception exception, containing the error message, will be thrown