Yes, and North Korea's continued existence is useful to China. If this pet bites the hand the feeds it, China can euthanize it and select a new pet. Plenty of generals ready to take Kim's place and consolidate power over NK with China's assistance.
Yeah, this is all Chinas fault. No matter what they don't come out looking good.