Use barrier.Forward to signal container shutdown

This is an improvement since it means fewer goroutines in any full stack dumps
and also the placement of the forward has been moved so that really "main" owns
the dying semantics rather than the container.

# Ready for merging