fixed a bug where one greenlet blocked