#286: Stop writing once tag limit is reached