fix response do not end when child process close