Adding some extra debug logging for when reference counted objects exist while the reference counting system is being shutdown