pass queryId to remote servers