removed legacy long poll code