private function collectChildren()
    {
        foreach ($this->children_ as $pid => $transport) {
            if (pcntl_waitpid($pid, $status, WNOHANG) > 0) {
                unset($this->children_[$pid]);
                if ($transport) {
                    @$transport->close();
                }
            }
        }
    }
private function collectChildren()
    {
        foreach ($this->children_ as $pid => $transport) {
            if (pcntl_waitpid($pid, $status, WNOHANG) > 0) {
                unset($this->children_[$pid]);
                if ($transport) {
                    @$transport->close();
                }
            }
        }
    }
private function collectChildren ( ) { foreach ( $ this -> children_ as $ pid => $ transport ) { if ( pcntl_waitpid ( $ pid , $ status , WNOHANG ) > 0 ) { unset ( $ this -> children_ [ $ pid ] ) ; if ( $ transport ) { @ $ transport -> close ( ) ; } } } }
Collects any children we may have

@return void
Collects any children we may have