Add waiting for all go routines to complete before checking status.
Add waiting for all go routines to complete before checking status.

materials-commons/mcstore,materials-commons/mcstore,materials-commons/mcstore