The argument of the $finish control task should be a "finish number" of 0, 1, or 2.
$finish
0
1
2
initial $finish("Hello");
initial $finish(1);