if (linkStream == null)
throw new IllegalStateException(this + " can't send a query because the link is closed.");
long id = _queryManager.nextQueryId();
QueryFuture future
= _queryManager.addQueryFuture(id, to, getAddress(), payload, timeout);
linkStream.query(id, to, getAddress(), payload);
return future.get();
}