Wait on dead containers before completing teardown.

Also add comment on sleep on teardown.