wait for container/build to finish