Yield the bar on construction if a block is given.

And `finish` it afterwards.