Fix pending message leak when uuid not matched to a plugin.