pubsub long-poll app