Linked resource cleanup