Ensure proper callback thread shutdown on client GC free