IResource.Release now calls OnDispose