hack around gevent sleep issue