protected function quitSubProcess($subProcess, array $pipes)
    {
        fwrite($pipes[0], "QUIT\n");
        fclose($pipes[0]);
        fclose($pipes[1]);
        fclose($pipes[2]);
        proc_close($subProcess);
    }