thread-safe Gearman client

why does this return a pointer?