Realtime flask app through long polling