fixed greenlet memory leaks