public void Cancel()
 {
     connection.cancelQuery();
     cancelSql = true;
 }