Update worker.py

Added gevent.sleep(0) so that spawn works.