thread-safe Gearman client

ended up needing to check a packet's handle less than expected, so I just deleted it: bbe04d7eb3a4dacb331bca085ad028b75bfe9750