longPoll fix