thread-safe Gearman client

d83bce276b8786eb7958a96b98d8e1fceb1719fa