'drawGraphicsData' Line won't terminate

Hello again, my dear helpfuls.
The fills behave as expected but I can’t get the stroke to break. For some reason it ends up connecting back to it’s first coordinate.:h: I’ve attached an image illustrating the problem.
Here’s the code:

import flash.display.GraphicsPath;
import flash.display.GraphicsPathCommand;
import flash.display.GraphicsSolidFill;
import flash.display.GraphicsStroke;
import flash.display.GraphicsEndFill;
import flash.display.IGraphicsData;

const myGraphicsSolidFill:GraphicsSolidFill = new GraphicsSolidFill(0xb3beb1,1);
const myGraphicsStrokeSolidFill:GraphicsSolidFill = new GraphicsSolidFill(0x667773,1);//stroke fill
const myGraphicsStroke:GraphicsStroke = new GraphicsStroke(2,true,'none','none','miter',2,myGraphicsStrokeSolidFill);
const myGraphicsEndFill:GraphicsEndFill = new GraphicsEndFill();

const path1data:Vector.<Number>  = Vector.<Number>([0, 0, 180, 0, 180, 10, 160, 10, 160, 40, 150, 40, 150, 10, 10, 10, 10, 130, 90, 130, 90, 140, 0, 140, 0, 0]);
const path1commands:Vector.<int>  = Vector.<int>([1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2]);
const path1:GraphicsPath = new GraphicsPath(path1commands, path1data);

const path2data:Vector.<Number>  = Vector.<Number>([220, 0, 400, 0, 400, 140, 270, 140, 270, 130, 390, 130, 390, 10, 220, 10, 220, 0]);
const path2commands:Vector.<int>  = Vector.<int>([1, 2, 2, 2, 2, 2, 2, 2, 2]);
const path2:GraphicsPath = new GraphicsPath(path2commands, path2data);

const path3data:Vector.<Number> = Vector.<Number>([360, 180, 400, 180, 400, 320, 0, 320, 0, 180, 50, 180, 50, 190, 10, 190, 10, 310, 130, 310, 130, 260, 140, 260, 140, 310, 280, 310, 280, 190, 230, 190, 230, 180, 320, 180, 320, 190, 290, 190, 290, 310, 390, 310, 390, 190, 360, 190, 360, 180]);
const path3commands:Vector.<int> = Vector.<int>([1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2]);
const path3:GraphicsPath = new GraphicsPath(path3commands, path3data);

const path4data:Vector.<Number>  = Vector.<Number>([90, 180, 190, 180, 190, 190, 140, 190, 140, 220, 130, 220, 130, 190, 90, 190, 90, 180]);
const path4commands:Vector.<int>  = Vector.<int>([1, 2, 2, 2, 2, 2, 2, 2, 2]);
const path4:GraphicsPath = new GraphicsPath(path4commands, path4data);

const path5data:Vector.<Number>  = Vector.<Number>([150, 80, 160, 80, 160, 130, 230, 130, 230, 140, 130, 140, 130, 130, 150, 130, 150, 80]);
const path5commands:Vector.<int>  = Vector.<int>([1, 2, 2, 2, 2, 2, 2, 2, 2]);
const path5:GraphicsPath = new GraphicsPath(path5commands, path5data);

const drawing:Vector.<IGraphicsData> = Vector.<IGraphicsData>
([
	myGraphicsStroke,
	myGraphicsSolidFill,
	path1,
	myGraphicsEndFill,
	myGraphicsStroke,
	myGraphicsSolidFill,
	path2,
	myGraphicsEndFill,
	myGraphicsStroke,
	myGraphicsSolidFill,
	path3,
	myGraphicsEndFill,
	myGraphicsStroke,
	myGraphicsSolidFill,
	path4,
	myGraphicsEndFill,
	myGraphicsStroke,
	myGraphicsSolidFill,
	path5,
	myGraphicsEndFill
]);
graphics.drawGraphicsData(drawing);

Am I missing something?
Thanks.