public function getProcess($pid = null)
    {
        if (is_null($pid)) {
            $pid = $this->pid;
        }

        if (is_null($pid)) {
            throw new ProcessFinderException('Pid is required');
        }

        $process = $this->api->getProcessByPid($pid);

        return count($process) ? $process[0] : false;
    }