Let server use query ostream