refactor
FIX

When there is no free threads in the process, the process may not be
able to talk to the parent process