this works on shutdown fine, but reboot a machine for patching for example, then it still removes from chef when it shouldn't