Fixed long polling & request ending