below we are using "if (poll)" for longPolling - if semantics is the same we should be consistent.