tarsum: correct close and finish reads Upstream-commit: 0a6fd743ea7b0b312620e8b0f51d576a3f71f07c Component: engine