support for long polling but not yet working