Using gevent.spawn for two threads sharing data