basic functionality on LongPoll listening