Long polling server using Gevent