thread-safe Gearman client

`pj` is unneeded.