Use long-polling for the sample