CLOUD-315 fixed resource delete