Add object_creation_error_hook to allow for cleanup in oc_chef_wm