add longPolling