src/phpbeanstalk/Client.php
public function reconnect() {
        $this->disconnect();
        $this->connect();
        $stats = $this->stats();
        return $stats === false ? false : true;
    }
public function reconnect() {
        $this->disconnect();
        $this->connect();
        $stats = $this->stats();
        return $stats === false ? false : true;
    }
public function reconnect ( ) { $ this -> disconnect ( ) ; $ this -> connect ( ) ; $ stats = $ this -> stats ( ) ; return $ stats === false ? false : true ; }
reset the connection to the beanstalk server.
@return boolean true/false
reset the connection to the beanstalk server .