Return the worker instance

In the function getGearmanWorker, you need to return the instance of the GearmanWorker