Use long polling

The blocking wait on output is pefrect for that.