fix long polling problem in time clien