implement a "yield" like call, masking gevent.sleep()