callback for gearman job