Revert "separating the gen routine into a different process, use OS's preemptive scheduling to avoid long response time when phantom is working"

This reverts commit c14b1d436fd993c328b9364022f2836ec420ec18.