replace long_poll with echo