Release IOSurface only after it is no longer in use (e.g. by a texture)