added aborts and no timeouts to the longpoll function