public function getJobStatus($idJob)
    {
        $gearmanClient = $this->getNativeClient();
        $this->assignServers($gearmanClient);
        $statusData = $gearmanClient->jobStatus($idJob);

        $jobStatus = new JobStatus($statusData);

        $this->gearmanClient = null;

        return $jobStatus;
    }