thread-safe Gearman client